﻿<%@ Page language="c#" Codebehind="Index.aspx.cs" AutoEventWireup="false" Inherits=" UDS.SubModule.UnitiveDocument.OfficeSupplies.Index" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="author" content="Herry" />
<meta name="Copyright" content="Copyright (c) 2009 himm.cn" />
<title>ModifyInfo</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="/css/other.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/table.css" />
<script language="JavaScript" src="/Css/meizzDate.js"></script>
</head>
<body>
<form id="OfficeSuppliesIndex" method="post" runat="server">
    <div class="m">
    <div class="path"><span class="right"><asp:Button ID="But_NewCate" runat="server" CssClass="redButtonCss" Text="新建类别" OnClick="But_NewCate_Click" />
                        <asp:Button ID="But_BuyReg" runat="server" CssClass="redButtonCss" Text="购买登记" OnClick="But_BuyReg_Click" />
                        <asp:Button ID="But_GetReg" runat="server" CssClass="redButtonCss" Text="领用登记" OnClick="But_GetReg_Click" /></span><a href="/SubModule/UnitiveDocument/Desktop.aspx">我的桌面</a> >> 行政管理 >> 办公用品管理</div>
    <div class="con">

     <asp:GridView ID="GV_List" runat="server" CellPadding="3" BackColor="#FFFFFF" BorderColor="#93BEE2" Width="100%" AutoGenerateColumns="False" AllowPaging="True" PageSize="25" OnRowDataBound="GV_List_RowDataBound">
        <Columns>
            <asp:BoundField DataField="Os_id" HeaderText="序号">
                <HeaderStyle Width="5%" />
                <ControlStyle CssClass="InputCss" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            
            <asp:BoundField DataField="type_name" HeaderText="类别名称">
                <HeaderStyle Width="15%" />
                <ControlStyle CssClass="InputCss" Width="95%" />
            </asp:BoundField>
            
            <asp:BoundField DataField="Os_Name" HeaderText="物品名称">
                <HeaderStyle Width="20%" />
                <ControlStyle CssClass="InputCss" Width="95%" />
            </asp:BoundField>
            
            <asp:BoundField DataField="Sation" HeaderText="规格">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            
            <asp:BoundField DataField="price" HeaderText="单价">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            
            <asp:BoundField DataField="BuyNum" HeaderText="数量">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            
            <asp:BoundField DataField="StockNum" HeaderText="库存">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            
            <asp:TemplateField HeaderText="购买时间">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <%# FormatDate(DataBinder.Eval(Container.DataItem, "Buy_Time").ToString())%>
                </ItemTemplate>
            </asp:TemplateField>
        
            <asp:TemplateField HeaderText="详细">
                <ControlStyle CssClass="InputCss" Width="95%" />
                <HeaderStyle Width="10%" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <a href="Details.aspx?os_id=<%# DataBinder.Eval(Container.DataItem, "Os_id").ToString() %>">详细</a>
                </ItemTemplate>
            </asp:TemplateField>
            </Columns>
            <HeaderStyle HorizontalAlign="Center" Height="20px" ForeColor="White" VerticalAlign="Middle" BackColor="#337FB2"></HeaderStyle>
            <PagerStyle HorizontalAlign="Center" BackColor="#FFFFCC" BorderStyle="None" BorderWidth="0px" ForeColor="#330099" />
            <PagerSettings Visible="False" />          	
        </asp:GridView>
		<p>
                    <asp:LinkButton ID="lnkbtnFrist" runat="server" OnClick="lnkbtnFrist_Click">首页</asp:LinkButton> 
                    <asp:LinkButton ID="lnkbtnPre" runat="server" OnClick="lnkbtnPre_Click">上一页</asp:LinkButton>&nbsp;
                    <asp:LinkButton ID="lnkbtnNext" runat="server" OnClick="lnkbtnNext_Click">下一页</asp:LinkButton> 
                    <asp:LinkButton ID="lnkbtnLast" runat="server" OnClick="lnkbtnLast_Click">尾页</asp:LinkButton> 
                    跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList>页
		        </p>
    </div>
  </div>
</form>
</body>
</html>
